package cn.fudan.pms.util;


import java.util.UUID;

/**
 * 生成 uuid
 * @author Jerry Zhang
 * create: 2022-12-27 21:56
 */
public class UUIDUtil {

    public static String generateUUID(String text) {
        String stringBuilder = text + UUID.randomUUID();
        return UUID.nameUUIDFromBytes(stringBuilder.getBytes()).toString();
    }
}
